import React from "react"

const Home = React.lazy(() => import("@/views/home"))
const Entire = React.lazy(() => import("@/views/entire"))
const Detail = React.lazy(() => import("@/views/detail"))
const routes = [
  {
    path: "/",
    // element: <Navigator to="/home" />
    element: <Home></Home>
  },
  {
    path: "/home",
    element: <Home></Home>
  },
  {
    path: "/entire",
    element: <Entire></Entire>
  },
  {
    path: "/detail",
    element: <Detail></Detail>
  }
]
export default routes